<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_POR_07_004_CheckDisplayLanguageOfPortalInPrivateModeWithDemoAccount</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_POR_07_004_CheckDisplayLanguageOfPortalInPrivateModeWithDemoAccount</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--ChangeLanguagePrivateMode by root--</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change language from English to French--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=French</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=French</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Apply</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Accueil</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Accueil</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Déconnexion</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Déconnexion</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Login in with new language--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Accueil</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Accueil</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Déconnexion</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Déconnexion</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Sign in again to change language to English--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change back to English</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Changer la langue</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Anglais</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Anglais</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Appliquer</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>refreshAndWait</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--ChangeLanguagePrivateMode by john--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>john</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>clickAt</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change language from English to German--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=German</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=German</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Apply</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Apply</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Startseite</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Startseite</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Abmelden</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Abmelden</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Login in with new language--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>john</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Startseite</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Startseite</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Abmelden</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Abmelden</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Sign in again to change language to English--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>john</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change back to English</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sprache wechseln</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sprache wechseln</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Englisch</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Englisch</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Anwenden</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>refreshAndWait</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--ChangeLanguagePrivateMode by demo--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>demo</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Change Language</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change language from English to Italian--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Italian</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Italian</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Apply</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Uscita</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Uscita</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Login in with new language--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>demo</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Uscita</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Uscita</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>1000</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Verify</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Sign in again to change language to English--</td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/portal/public/classic</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>demo</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Change back to English</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Cambia Lingua</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Cambia Lingua</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Inglese</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Inglese</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Applica</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Home</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
